#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class ContextUI;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

public:
    static MainWindow* GetInstace(void) { return m_pMainWindow;}
public:
    void Test();

protected:
    void InitUI(void);

protected slots:
    void SendMessage(bool);

private:
    Ui::MainWindow *ui;
   // TitleBar* m_pTitleBar;
    ContextUI* m_pContextUi;
    static MainWindow* m_pMainWindow;
};

#endif // MAINWINDOW_H
